#define _CRT_SECURE_NO_WARNINGS
#include"heap.h"

void test01()
{
	hp hp1;
	hp_init(&hp1);
	int arr[] = { 17,20,10,13,19,15 };
	for (int i = 0; i < 6; i++)
	{
		hp_push(&hp1, arr[i]);
	}

	while (!hp_empty(&hp1))
	{
		printf("%d ", hp_empty(&hp1));
		hp_pop(&hp1);
	}
	hp_destroy(&hp1);
}


int main()
{
	test01();
	return 0;
}